package com.ws.wsmall.member.feign;

import com.ws.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient("wsmall-coupon")  //是调用nacos中的注册的服务
public interface CouponFeignService {
    /**
     * 会员模块远程调用“可以使用的优惠劵”
     * @return
     */

    @RequestMapping("/coupon/coupon/listcoupon")
    public R listByMemberID();
}
